package com.edu.service.Impl;

import com.edu.dao.BookDao;
import com.edu.dao.impl.BookDaoImpl;
import com.edu.entity.Book;
import com.edu.service.BookService;

import javax.servlet.http.HttpServlet;
import java.util.List;

public class BookServiceImpl implements BookService{
    @Override
    public List<Book> queryAll() {
        BookDao bookDao= new BookDaoImpl();
       List<Book> list=bookDao.queray();
        return list;
    }
}
